#! /usr/bin/env sh

# 1. 推送
git push

# 2.docker build
docker build -f ../backend/backend.dockerfile -t backend ../backend/

# 3.docker tag
docker tag backend poloyy/backend
docker rmi backend

# 4.push
docker login -upoloyy -p81200110ss
docker push poloyy/backend